<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{aprobacionSolicitudUDT2.page1}" id="page1">
            <ui:html binding="#{aprobacionSolicitudUDT2.html1}" id="html1">
                <ui:head binding="#{aprobacionSolicitudUDT2.head1}" id="head1">
                    <ui:link binding="#{aprobacionSolicitudUDT2.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{aprobacionSolicitudUDT2.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{aprobacionSolicitudUDT2.form1}" id="form1">
                        <div style="position: absolute; left: 0px; top: 0px">
                            <jsp:include page="encab1.jspf"/>
                        </div>
                        <ui:table binding="#{aprobacionSolicitudUDT2.table1}" deselectMultipleButton="true" id="table1" paginateButton="true"
                            paginationControls="true" selectMultipleButton="true" sortPanelToggleButton="true"
                            style="left: 70px; top: 191px; position: absolute; width: 1337px" title="Tabla" width="1024">
                            <script><![CDATA[
       /* ----- Functions for Table Preferences Panel ----- */
       /*
       * Toggle the table preferences panel open or closed
       */
       function togglePreferencesPanel() {
       var table = document.getElementById("form1:table1");
       table.toggleTblePreferencesPanel();
       }
       /* ----- Functions for Filter Panel ----- */
       /*
       * Return true if the filter menu has actually changed,
       * so the corresponding event should be allowed to continue.
       */
       function filterMenuChanged() {
       var table = document.getElementById("form1:table1");
       return table.filterMenuChanged();
       }
       /*
       * Toggle the custom filter panel (if any) open or closed.
       */
       function toggleFilterPanel() {
       var table = document.getElementById("form1:table1");
       return table.toggleTableFilterPanel();
       }
       /* ----- Functions for Table Actions ----- */
       /*
       * Initialize all rows of the table when the state
       * of selected rows changes.
       */
       function initAllRows() {
       var table = document.getElementById("form1:table1");
       table.initAllRows();
       }
       /*
       * Set the selected state for the given row groups
       * displayed in the table.  This functionality requires
       * the 'selectId' of the tableColumn to be set.
       *
       * @param rowGroupId HTML element id of the tableRowGroup component
       * @param selected Flag indicating whether components should be selected
       */
       function selectGroupRows(rowGroupId, selected) {
       var table = document.getElementById("form1:table1");
       table.selectGroupRows(rowGroupId, selected);
       }
       /*
       * Disable all table actions if no rows have been selected.
       */
       function disableActions() {
       // Determine whether any rows are currently selected
       var table = document.getElementById("form1:table1");
       var disabled = (table.getAllSelectedRowsCount() > 0) ? false : true;
       // Set disabled state for top actions
       document.getElementById("form1:table1:tableActionsTop:deleteTop").setDisabled(disabled);
       // Set disabled state for bottom actions
       document.getElementById("form1:table1:tableActionsBottom:deleteBottom").setDisabled(disabled);
       }]]></script>
                            <ui:tableRowGroup binding="#{aprobacionSolicitudUDT2.tableRowGroup1}" id="tableRowGroup1" rows="10"
                                selected="#{aprobacionSolicitudUDT2.selectedState}" sourceData="#{aprobacionSolicitudUDT2.sct0022DataProvider}" sourceVar="currentRow">
                                <ui:tableColumn align="center" binding="#{aprobacionSolicitudUDT2.tableColumn7}" id="tableColumn7"
                                    onClick="setTimeout('initAllRows()',0)" selectId="checkbox1" valign="middle">
                                    <ui:checkbox binding="#{aprobacionSolicitudUDT2.checkbox1}" id="checkbox1" selected="#{aprobacionSolicitudUDT2.selected}" selectedValue="#{aprobacionSolicitudUDT2.selectedValue}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn1}" headerText="No. Solicitud" id="tableColumn1" sort="NMROSLCTUD">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText1}" id="staticText1" text="#{currentRow.value['NMROSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn2}" headerText="NIT" id="tableColumn2" sort="NIT">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText2}" id="staticText2" text="#{currentRow.value['NIT']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn12}" headerText="Nombre" id="tableColumn12" sort="NMBRE" width="145">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText10}" id="staticText10" text="#{currentRow.value['NMBRE']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn3}" headerText="Monto" id="tableColumn3" sort="MNTO" width="21">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText3}" id="staticText3" text="#{currentRow.value['MNTO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn4}" headerText="Producto" id="tableColumn4" sort="CDGOPRDCTO">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText4}" id="staticText4" text="#{currentRow.value['CDGOPRDCTO']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn5}" headerText="Sublinea" id="tableColumn5" sort="CDGOSBLNEA" width="168">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText5}" id="staticText5" text="#{currentRow.value['CDGOSBLNEA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn6}" headerText="Tipo de Solicitud" id="tableColumn6"
                                    sort="CDGOTPOSLCTUD" width="196">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText6}" id="staticText6" text="#{currentRow.value['CDGOTPOSLCTUD']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn8}" headerText="Agencia" id="tableColumn8" sort="CDGOAGNCIA" width="110">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText8}" id="staticText8" text="#{currentRow.value['CDGOAGNCIA']}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn9}" headerText="Etapa Finalizada" id="tableColumn9" width="86">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText9}" id="staticText9" text="#{aprobacionSolicitudUDT2.operador}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn11}" headerText="Puntaje Score" id="tableColumn11"
                                    sort="PNTJEMDLO" width="88">
                                    <ui:staticText binding="#{aprobacionSolicitudUDT2.staticText7}" id="staticText7" text="#{aprobacionSolicitudUDT2.scoring}"/>
                                </ui:tableColumn>
                                <ui:tableColumn binding="#{aprobacionSolicitudUDT2.tableColumn13}" headerText="Politicas" id="tableColumn13" width="89">
                                    <ui:hyperlink action="#{aprobacionSolicitudUDT2.hyperlink1_action}" binding="#{aprobacionSolicitudUDT2.hyperlink1}"
                                        id="hyperlink1" text="Ver politicas"/>
                                </ui:tableColumn>
                            </ui:tableRowGroup>
                            <f:facet name="actionsTop">
                                <ui:panelGroup binding="#{aprobacionSolicitudUDT2.groupPanel1}" id="groupPanel1" style="left: 48px; top: 264px">
                                    <ui:button action="#{aprobacionSolicitudUDT2.approve_action}" binding="#{aprobacionSolicitudUDT2.approve}" id="approve"
                                        mini="true" onClick="" primary="true" style="width: 71px" text="Aprobar"/>
                                    <ui:button action="#{aprobacionSolicitudUDT2.reject_action}" binding="#{aprobacionSolicitudUDT2.reject}" id="reject"
                                        mini="true" primary="true" style="width: 71px" text="Rechazar"/>
                                </ui:panelGroup>
                            </f:facet>
                        </ui:table>
                        <ui:staticText binding="#{aprobacionSolicitudUDT2.titulo1}" id="titulo1"
                            style="color: rgb(108, 154, 154); font-family: 'Times New Roman','Times',serif; font-size: 18px; left: 52px; top: 94px; position: absolute; text-align: center; width: 312px" text="Aprobación / Rechazo bajo Excepción"/>
                        <ui:button action="#{aprobacionSolicitudUDT2.menu_action}" binding="#{aprobacionSolicitudUDT2.menu}" id="menu" mini="true"
                            primary="true" style="left: 71px; top: 141px; position: absolute; width: 71px" text="Cerrar"/>
                        <ui:button action="case1" binding="#{aprobacionSolicitudUDT2.back}" id="back" mini="true" primary="true"
                            style="left: 167px; top: 141px; position: absolute; width: 71px" text="Regresar"/>
                        <ui:alert binding="#{aprobacionSolicitudUDT2.alert1}" id="alert1" style="left: 291px; top: 124px; position: absolute"/>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
